package com.woniu.outlet.mysql.po;

import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 每日拉取的code净值，实际上是前天的净值
 */
@Data
@RedisHash("codeT-1")
public class DailyCodeTOne implements Serializable {

    @Id
    private String codeId; //产品id
    private String name; //产品名
    private BigDecimal todayValuation; //当日估值
    private String pullDate; //拉取的日期

}